package com.springboot.demo.service;

import com.springboot.demo.entity.MapData;
import com.springboot.demo.entity.PageRequest;
import com.springboot.demo.entity.PageResult;

/**
 * @author wubc683
 * @desc
 * @date 2021-11-18 17:07
 */
public interface MapService {
    /**
     * 获取监控地图信息
     *
     * @param uid
     * @return: com.springboot.demo.entity.MapData
     */
    MapData getMonitorMap(Long uid);

    /**
     * 获取地图中场景
     *
     * @param uid
     * @param search
     * @param pageRequest
     * @return: com.springboot.demo.entity.PageResult
     */
    PageResult getMapScenes(Long uid, String search, PageRequest pageRequest);

    /**
     * 修改地图状态
     *
     * @param uid
     * @param mapData
     * @return: void
     */
    void updateMonitorMap(Long uid, MapData mapData);

    /**
     * 将地图当前位置设为起始位置
     *
     * @param uid
     * @param mapData
     * @return: void
     */
    void updateMonitorMapPosition(Long uid, MapData mapData);
}
